<div class="panel panel-default panel-intro">
    {:build_heading()}
	<div class="panel-heading">
        {:build_heading(null,FALSE)}
        <ul class="nav nav-tabs nav-custom-condition">
        	<li class="active"><a href="#t-all" data-value="5" data-toggle="tab">{:__('All')}</a></li>
            <li class=""><a href="#t-1" data-value='1' data-toggle="tab">入库相关</a></li>
            <li class=""><a href="#t-2" data-value='2' data-toggle="tab">出库相关</a></li>
            <li class=""><a href="#t-3" data-value='3' data-toggle="tab">调拨单</a></li>
            <li class=""><a href="#t-4" data-value='4' data-toggle="tab">盘点单</a></li>
        </ul>
    </div>
    
    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade active in" id="one">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                          <a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}" ><i class="fa fa-refresh"></i> </a>
                          <a href="javascript:;" id="deal-btn" class="btn btn-success btn-disabled disabled {:$auth->check('inventory/temporary/setting')?'':'hide'}""  ><i class="fa fa-pencil"></i> {:__('Deal order')}</a>
                          <a href="javascript:;" id="view-btn" class="btn btn-info btn-disabled disabled {:$auth->check('inventory/temporary/view')?'':'hide'}"" href="inventory/temporary/recyclebin" title="{:__('查看完整单据明细')}"><i class="fa fa-eye"></i> {:__('查看单据详情')}</a>
                          <a href="javascript:;" class="btn btn-info"  ><i class="fa fa-stop-circle" /></i> <span id="btn-stop-refresh">停止刷新</span></a> 

                        <div class="dropdown btn-group {:$auth->check('inventory/temporary/multi')?'':'hide'}">
                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-cog"></i> {:__('More')}</a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=0"><i class="fa fa-eye"></i> {:__('Set to reclose')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:;" data-params="status=2"><i class="fa fa-eye-slash"></i> {:__('Set to close')}</a></li>
                            </ul>
                        </div>
						<a href="javascript:;" class="btn btn-danger btn-dels btn-disabled disabled {:$auth->check('inventory/temporary/del')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('Deletes')}</a>
                        
                        <!-- <a href="javascript:;" class="btn btn-info btn-hand-setting btn-disabled disabled {:$auth->check('inventory/temporary/handsetting')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-trash"></i> {:__('手动同步回U8')}</a> -->
                        
                         <a href="javascript:;" class="btn btn-info btn-hand-repeat btn-disabled disabled {:$auth->check('inventory/temporary/handrepeat')?'':'hide'}" title="{:__('Delete')}" ><i class="fa fa-repeat"></i> {:__('重试同步回ERP')}</a> 
                        
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover "
                           data-operate-edit="{:$auth->check('inventory/temporary/edit')}"
                           data-operate-del="{:$auth->check('inventory/temporary/del')}"
                           width="100%">
                    </table>
                </div>
            </div>

        </div>
    </div>
</div>
<script> 
var orderListList=Object.assign({}, <?php echo json_encode($orderListList); ?>); 
var groundingListList=Object.assign({}, <?php echo json_encode($groundingListList); ?>)
var statusListList=Object.assign({}, <?php echo json_encode($statusListList); ?>) 
var shelvesTypeList=Object.assign({}, <?php echo json_encode($shelvesTypeList); ?>)
var passStatusListList=Object.assign({}, <?php echo json_encode($passStatusListList); ?>) 
</script>